/**
 * @param {HTMLElement} el
 * @param {number} zIndex
 */
export function setElementZIndex(el: HTMLElement, zIndex: number): void {
  if (!el) return
  try {
    el.style.zIndex = zIndex.toString()
  } catch (e) {
    console.error('Error setting element z-index:', e)
  }
} 